#include "demo11.h"
double demo11_inherit::net_price(size_t n) const
{
    return n * price;
}